package demo03;

public class Person {
    public String name ;
    public String sex ;
    public int age ;

    public Person() {
    }
    public Person(String name, String sex, int age) {
        this.name = name;
        this.sex = sex;
        this.age = age;
    }
    @Override
    public String toString() {
        return
                "姓名：" + name + '\t' +
                        " 性别：" + sex + '\t' +
                        " 年龄：" + age ;
    }
}
